package cn.zjk.springframework.context;

import cn.zjk.springframework.beans.BeansException;

/**
 * @description:
 * @Author zjk
 * @className: ConfigurableApplicationContext
 * @date: 2023/3/27 17:51
 */
public interface ConfigurableApplicationContext extends ApplicationContext{
    /**
     * 刷新容器
     * @throws BeansException
     */
    void refresh() throws BeansException;

    /**
     * 虚拟钩子
     */
    void registerShutdownHook();

    /**
     * 手动close
     */
    void close();

}
